<template>
<div class="bannerone" :style="{width:winWidth+'px'}">
    <img :style="{width:winWidth-20+'px'}"  src="http://img06.tooopen.com/images/20160818/tooopen_sy_175866434296.jpg" alt="">
</div>
</template>
<script>
export default {
  name: "component_name",
  data () {
    return {
        winWidth:""
    };
  },
  created:function(){
      wx.getStorageSync('userSystem')
      this.winWidth = wx.getStorageSync('userSystem').windowWidth
  }
}
</script>
<style lang="css" scoped>
</style>